# _*_ coding: utf-8 _*_
from odoo import models, fields, api


class ProductAttributeValue(models.Model):
    _inherit = "product.attribute.value"

    @api.multi
    def _variant_name(self, variable_attributes):
        return ", ".join([v.name for v in self if v.attribute_id in variable_attributes])
